home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
gt_power
/
duser110.zip
/
DROPUSER.DOC
next >
Wrap
Text File
|
1991-03-11
|
4KB
|
85 lines
██████ ██ ██
██ ██ ██ ██
██ ██ ██ ████ █████ ██████ ██ ██ █████ █████ ██ ████
██ ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ███████ ██
██ ██ ██ ██ ██ ██████ ██ ██ ██ ██ ██
██████ ██ █████ ██ █████ █████ █████ ██
██
Copyright Cory Wright 1991
----------------------------------------------------------------------
VERSION 1.10 - March 11, 1991
----------------------------------------------------------------------
PURPOSE
-------
DROPUSER is intended for use in batch files during the log-off process
of a bulletin board user. Some BBS programs such as GT Power, do not
log the user off before running its cleanup (or log-off) batch file. In
the case of GT Power and some other programs, the authors have not
found it necessary to take the phone off-hook while the board recycles
or while the BBS performs its event. DROPUSER takes care of all of this
in one simple step.
PROCEDURE
---------
There is no syntax checking on the command line other than for the
required two parameters. You will pass DROPUSER two parameters. The
first is the communications port number. The second is the maximum baud
rate at which your modem operates.
DROPUSER opens the communications port and immediately lowers DTR.
Since you run a BBS, you should already have your modem set to hang up
if DTR is lowered. On most Hayes modems, an &D3 will accomplish this.
After a brief pause, DROPUSER raises DTR and proceeds to issue an
"ATH1M0" string to the modem at the baud rate given as the second
parameter on the command line. "ATH1M0" is a standard sequence that
takes the phone off-hook and silences the modem speaker.
EXAMPLE
-------
DROPUSER 1 2400
- This will drop the user on COM1: and reset the modem at 2400 baud.
Notice that COM1: is represented as '1', COM2: as '2', etc...
DROPUSER 2 38400
- This will drop the user on COM2: and reset the modem at 38400 baud.
ENHANCEMENTS
------------
As of v1.10, you may define your com port setup on the command line.
The syntax is very exact, and even though some syntax checking is in
place, you can lock up your system unless you know what you are
doing.
The format is:
DROPUSER Port#/$BASE/IRQ# baud
Example: DROPUSER 3/$03F8/4 2400
would set COM3: up on i/o base $03F8 on IRQ 4 at 2400 baud.
COMMENTS
--------
You may reach me at the following address:
Cory Wright The Rising Connection
P. O. Box 53041 or call the BBS: 615-531-8789
Knoxville, TN 37950-3041 HAYES ULTRA V.32/9600
If you wish to send comments or suggestions, want a custom compilation,
have problems with the timing of the modem (ie: it won't take the phone
off of the hook), feel free to call my BBS or write me.
If you like the program, please send a $5.00 (or more) contribution to
your local Ronald McDonald House. If you do not have an R.M.H. in your
area, then send your contribution to:
Ernie Roberts, Key Club Sponsor
Re: The Ronald McDonald House of Knoxville
8352 Kingston Pike
Knoxville, TN 37919
Thanks! -- Cory Wright